import $axios from './index.js'

// 网站列表
function websiteList(data) {
  const url = '/website/index'
  return $axios.get(url, data)
}
// 网站添加
function websiteSave(data) {
  const url = '/website/save'
  return $axios.post(url, data)
}
// 网站编辑
function websiteUpdate(data) {
  const url = '/website/update'
  return $axios.post(url, data)
}
// 网站删除
function websiteDelete(data) {
  const url = '/website/delete'
  return $axios.post(url, data)
}

export default {
  websiteList,
  websiteSave,
  websiteUpdate,
  websiteDelete
}
